<!--
 * @Author: Y先森
 * @Date: 2023-04-24 10:55:03
 * @LastEditors: y && 250048395@qq.com
 * @LastEditTime: 2023-05-08 15:10:28
 * @FilePath: \y-website\src\views\craftShare\components\navigation\index.vue
-->
<template>
  <mobile-navigation-vue v-if="isMobileTerminal" />
  <pc-navigation-vue v-else></pc-navigation-vue>
</template>

<script setup>
import { isMobileTerminal } from '@/utils/flexible'
import mobileNavigationVue from './mobile/index.vue'
import pcNavigationVue from './pc/index.vue'
import { useStore } from 'vuex'

const store = useStore()
// 触发 category 数据获取动作
store.dispatch('category/useCategoryData','craftShare')
</script>

<style lang="scss" scoped></style>
